/* 
 * Copyright 2010 elvish render Team
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at

 * http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include <eiAPI/ei.h>
#include<iostream>
#include<vector>
#include<string>

using namespace std;

#define A

#ifdef A
//int argc, char *argv[]
int main()
{
	

	
	ei_parse("sample.ess");
    
	vector<string> overrideCommands;
	string tempCommand;
	
	cin>>tempCommand;
	
	
		if(tempCommand == "-contrast")
		{
			eiScalar r,g,b,a;
			cin>>r>>g>>b>>a;
			ei_contrast(r,g,b,a);
		}
		else if(tempCommand == "-samples")
		{
			eiInt min,max;
			cin>>min>>max;
			ei_samples(min,max);
		}
		else if(tempCommand == "-finalgather")
		{

		}


		ei_render("world","caminst1","opt");
	
	return 0;
}

#endif 
